/**
 * 权限控制
 */
ch = {
		addPublicRes:/**
		 * 添加公共资源
		 */
			function(){
			cc.spriteFrameCache.addSpriteFrames(res_public.common_p);
			cc.spriteFrameCache.addSpriteFrames(res_public.login_p);
		},
		howToGo:function(opType){
			switch(opType){
			case OP_TYPE_BACK:
				// 返回
				if(uu.loginType == LOGIN_TYPE_APP){
					$.runScene(new SelectScene());// 选择页面
				} else if(uu.loginType == LOGIN_TYPE_PLATFORM) {
					if(cc.sys.platform == cc.sys.DESKTOP_BROWSER){
						// TODO 结束应用关闭页面
						history.go(-1);
					} else if(cc.sys.os == "Android"
						|| cc.sys.os == "Windows"){
						cc.director.end();// 结束应用返回平台
					} else if(cc.sys.os == "IOS"){
						// TODO 结束应用返回平台
					}
				}
				break;
			case OP_TYPE_LOGIN:
				if(uu.loginType == LOGIN_TYPE_APP){
					// 从图标(登录页面)进入,加载所有资源
					loadResHand.startLoad();
					$.runScene(new LoginScene());
				} else if(uu.loginType == LOGIN_TYPE_PLATFORM){
					// 平台进入,加载对应实验的资源
					loadResHand.startLoad(uu.expId);
					this.getExpInfo(uu.expId);
					this.run(uu.info.expTag);
				}
				break;
			case OP_TYPE_SELECT:
				$.runScene(new SelectScene());
				break;
			default:
				break;
			}
		},
		getExpInfo: /**
		 * 完善用户的实验信息
		 * 
		 * @param expId
		 */
			function(expId){
			if(!!uu.info){
				return;
			}
			for(var i in expInfo){
				var info = expInfo[i];
				if(info.expId == expId){
					uu.info = info;
					return;
				}
			}
		},
		run:/**
		 * 运行实验
		 * 
		 * @param expId
		 */
			function(tag){
			for(var i in expInfo){
				var exp = expInfo[i];
				if(exp.expTag == tag){
					gg.expId = exp.expId;
					exp.run(tag);
					cc.log("进入:" + exp.expName + "实验");
				}
			}
		},
		gotoGame:/**
		 * 进入趣味游戏
		 * 
		 * @param expTag
		 *            实验标签
		 * @param expRes
		 *            私有资源
		 * @param spriteFrame
		 *            私有Frame
		 */
			function(expTag, expRes, spriteFrame){
			if(loadResHand.checkLoadFinish(TAG_EXP_PUBLIC, TAG_LOAD_TYPE_GAME)
					&& loadResHand.checkLoadFinish(expTag, TAG_LOAD_TYPE_GAME)){
				if(!!spriteFrame){
					cc.spriteFrameCache.addSpriteFrames(spriteFrame);
				}
				$.pushScene(new GameScene());
			}else {
//				var preRes = [];
//				if(!!expRes){
//				preRes = g_resources_public_game.concat(expRes);
//				} else {
//				preRes = g_resources_public_game;
//				}
//				cc.LoaderScene.preload(preRes, function () {
//				if(!!spriteFrame){
//				cc.spriteFrameCache.addSpriteFrames(spriteFrame);
//				}
//				$.pushScene(new GameScene());
//				}, this);
				this.showTip("正在加载资源,请稍后");
			}
		},
		gotoTest:/**
		 * 调整到试题页面
		 * 
		 * @param expTag
		 *            实验标签
		 * @param expRes
		 *            私有资源
		 * @param spriteFrame
		 *            私有Frame
		 * @param param
		 *            私有参数
		 */
			function(expTag, expRes, spriteFrame, param){
			if(loadResHand.checkLoadFinish(TAG_EXP_PUBLIC, TAG_LOAD_TYPE_TEST)){
				$.pushScene(new TestScene(param));
			}  else {
//				cc.LoaderScene.preload(g_resources_public_test, function () {
//				$.pushScene(new TestScene(param));
//				}, this);
				this.showTip("正在加载资源,请稍后");
			}
		},
		gotoAbout:/**
		 * 跳转到关于页面
		 * 
		 * @param expTag
		 *            实验标签
		 * @param expRes
		 *            私有资源
		 * @param spriteFrame
		 *            私有Frame
		 * @param param
		 *            私有参数
		 */
			function(expTag, expRes, spriteFrame, param){
			if(loadResHand.checkLoadFinish(TAG_EXP_PUBLIC, TAG_LOAD_TYPE_ABOUT)){
				$.pushScene(new AboutScene(param));
			}  else {
//				cc.LoaderScene.preload(g_resources_public_about, function () {
//				$.pushScene(new AboutScene(param));
//				}, this);
				this.showTip("正在加载资源,请稍后");
			}
		},
		gotoStart:/**
		 * 进入开始页面
		 * 
		 * @param expTag
		 *            实验标签
		 * @param expRes
		 *            私有资源
		 * @param spriteFrame
		 *            私有Frame
		 */
			function(expTag, expRes, spriteFrame){
			gg.runExpTag = expTag;
			if(loadResHand.checkLoadFinish(TAG_EXP_PUBLIC, TAG_LOAD_TYPE_START)
					&& loadResHand.checkLoadFinish(expTag, TAG_LOAD_TYPE_START)){
				if(!!spriteFrame){
					// 清空上次缓存
					if(!!gg.curStartSpriteFrame){
						cc.spriteFrameCache.removeSpriteFramesFromFile(gg.curStartSpriteFrame);
					}
					gg.curStartSpriteFrame = spriteFrame;
					// 加载缓存
					cc.spriteFrameCache.addSpriteFrames(spriteFrame);
				}
				$.runScene(new StartScene());
			}else {
				var preRes = [];
				if(!!expRes){
					preRes = g_resources_public_start.concat(expRes);
				} else {
					preRes = g_resources_public_start;
				}
				cc.LoaderScene.preload(preRes, function () {
					if(!!spriteFrame){
						if(!!gg.curStartSpriteFrame){
							cc.spriteFrameCache.removeSpriteFramesFromFile(gg.curStartSpriteFrame);
						}
						gg.curStartSpriteFrame = spriteFrame;
						cc.spriteFrameCache.addSpriteFrames(spriteFrame);
					}
					loadResHand.setLoadFinish(TAG_EXP_PUBLIC, TAG_LOAD_TYPE_START);
					loadResHand.setLoadFinish(expTag, TAG_LOAD_TYPE_START);
					$.runScene(new StartScene());
				}, this);
			}
		},
		gotoRun : /**
		 * 跳转到运行页面
		 * 
		 * @param expTag
		 *            实验标签
		 * @param expRes
		 *            私有资源
		 * @param spriteFrame
		 *            私有Frame
		 * @param scene
		 *            场景
		 */
			function(expTag, expRes, spriteFrame, scene){
			if(loadResHand.checkLoadFinish(TAG_EXP_PUBLIC, TAG_LOAD_TYPE_RUN)
					&&loadResHand.checkLoadFinish(expTag, TAG_LOAD_TYPE_RUN)){
				cc.spriteFrameCache.addSpriteFrames(res_public_run.run_p);
				for(var i in gg.curRunSpriteFrame){
					// 清楚图片缓存
					var sf = gg.curRunSpriteFrame[i];
					cc.spriteFrameCache.removeSpriteFramesFromFile(sf);
				}
				gg.curRunSpriteFrame = [];
				$.runScene(scene);
			}  else {
				var preRes = [];
				if(!!expRes){
					preRes = g_resources_public_run.concat(expRes);
				} else {
					preRes = g_resources_public_run;
				}
				cc.LoaderScene.preload(preRes, function () {
					loadResHand.setLoadFinish(TAG_EXP_PUBLIC, TAG_LOAD_TYPE_RUN);
					loadResHand.setLoadFinish(expTag, TAG_LOAD_TYPE_RUN);
					cc.spriteFrameCache.addSpriteFrames(res_public_run.run_p);
					for(var i in gg.curRunSpriteFrame){
						// 清楚图片缓存
						var sf = gg.curRunSpriteFrame[i];
						cc.spriteFrameCache.removeSpriteFramesFromFile(sf);
					}
					gg.curRunSpriteFrame = [];
					$.runScene(scene);
				}, this);
			}
		},
		gotoFinish : /**
		 * 跳转到结束页面
		 */
			function(){
			var running = cc.director.getRunningScene();
			running.scheduleOnce(function(){
				if(loadResHand.checkLoadFinish(TAG_EXP_PUBLIC, TAG_LOAD_TYPE_FINISH)){
					$.runScene(new FinishScene(function(){
						_.stop();
						ch.run(gg.runExpTag);
					}));
				}  else {
					cc.LoaderScene.preload(g_resources_public_finish, function () {
						$.runScene(new FinishScene(function(){
							_.stop();
							loadResHand.setLoadFinish(TAG_EXP_PUBLIC, TAG_LOAD_TYPE_FINISH);
							ch.run(gg.runExpTag);
						}));
					}, this);
				}
			},2);
		},
		showTip:/**
		 * 提示
		 * 
		 * @param str
		 */
			function(str){
			var st = new ShowTipPublic();
			st.setPosition(gg.c_p);
			st.init(str, 1);
		}
}

/**
 * 异步加载资源
 */
loadResHand = {
		startLoad:/**
		 * 开始加载资源
		 * 
		 * @param expId
		 *            如果带实验id,则只加载一个实验的资源
		 */
			function(expId){
			for(var i in expInfo){
				var exp = expInfo[i];
				if(!!expId && exp.expId != expId && exp.expId > 0){
					// 如果有实验ID,就不加载其他实验(公共部分还是要加载的)
					continue;
				}
				for(var j in exp.loadRes){
					var res = exp.loadRes[j];
					if (cc.sys.platform != cc.sys.DESKTOP_BROWSER) {
						res.finish = true;
						return;
					} else {
						if(res.finish){
							cc.log(res.expName + ":已完成,不需要加载");
							continue;
						}
						if(res.type == TAG_LOAD_TYPE_START
								||res.type == TAG_LOAD_TYPE_RUN
								||res.type == TAG_LOAD_TYPE_FINISH){
							// cocos2d BUG cc.loader.load多次加载同一资源BUG
							continue;
						}
						res.expName = exp.expName;
						cc.loader.load(res.res,
								function () {
							this.finish = true;
							if(this.type == TAG_LOAD_TYPE_START){
								cc.log(this.expName + ":开始页面加载完成");
							} else if(this.type == TAG_LOAD_TYPE_RUN){
								cc.log(this.expName + ":仿真页面加载完成");
							} else if(this.type == TAG_LOAD_TYPE_FINISH){
								cc.log(this.expName + ":结束页面加载完成");
							} else if(this.type == TAG_LOAD_TYPE_GAME){
								cc.log(this.expName + ":游戏页面加载完成");
							} else if(this.type == TAG_LOAD_TYPE_ABOUT){
								cc.log(this.expName + ":关于页面加载完成");
							} else if(this.type == TAG_LOAD_TYPE_TEST){
								cc.log(this.expName + ":试题页面加载完成");
							}
						}.bind(res));
					}
				}
			}
		},
		checkLoadFinish:/**
		 * 检查是否加载完成
		 * 
		 * @param expTag
		 *            实验标签
		 * @param type
		 *            资源类型
		 * @returns {Boolean}
		 */
			function(expTag, type){
			if (cc.sys.platform != cc.sys.DESKTOP_BROWSER) {
				return true;
			}
			if(!expTag || !type){
				return true;
			}
			for(var i in expInfo){
				var exp = expInfo[i];
				if(exp.expTag != expTag){
					continue;
				}
				for(var j in exp.loadRes){
					var res = exp.loadRes[j];
					if(res.finish 
							&& type == res.type){
						cc.log(exp.expName + ":加载完成");
						return true;
					}
				}
			}
			return false;
		},
		setLoadFinish:/**
		 * 设置加载完成
		 * 
		 * @param expTag
		 *            实验标签
		 * @param type
		 *            资源类型
		 * @returns {Boolean}
		 */
			function(expTag, type){
			if (cc.sys.platform != cc.sys.DESKTOP_BROWSER) {
				return true;
			}
			if(!expTag || !type){
				return true;
			}
			for(var i in expInfo){
				var exp = expInfo[i];
				if(exp.expTag != expTag){
					continue;
				}
				for(var j in exp.loadRes){
					var res = exp.loadRes[j];
					if(res.type != type){
						continue;
					}
					res.finish = true;
					cc.log("setLoadFinish||" + exp.expName + ":加载完成");
					return true;
				}
			}
			return false;
		}
}

expInfo = [
{
	expName:"公共部分",
	expTag:TAG_EXP_PUBLIC,
	expId:-1,
	loadRes:[{
		expTag:TAG_EXP_PUBLIC,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_public_start
	},{
		expTag:TAG_EXP_PUBLIC,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_public_run
	},{
		expTag:TAG_EXP_PUBLIC,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_public_about
	},{
		expTag:TAG_EXP_PUBLIC,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_public_game
	},{
		expTag:TAG_EXP_PUBLIC,
		type:TAG_LOAD_TYPE_TEST,
		finish:false,
		res:g_resources_public_test
	}]
},
{
	expName: "植物的结构",
	expTag: TAG_EXP_01,
	expId: 60,
	expTitle:"植物的结构",
	expPurpose:"1)  了解菜豆种子的结构；\n2)  了解玉米种子的结构；\n3)  了解花的结构;\n4)  了解被子植物受精的过程。",
	expPrinciple:"植物的结构",
	expDemo:TAG_TYPE_NORMAL,
	expimage:res_start01.exp,
	run: function(){
		gg.runNext = startRunNext01;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow01);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start01.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_01,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start01
	},{
		expTag:TAG_EXP_01,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run01,
	}
	,{
		expTag:TAG_EXP_01,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game01
	},{
		expTag:TAG_EXP_01,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about01
	}]
},
{
	expName: "耳朵的结构",
	expTag: TAG_EXP_02,
	expId: 63,
	expTitle:"耳朵的结构",
	expPurpose:"了解耳朵的结构",
	expPrinciple:"耳朵的结构",
	expDemo:TAG_TYPE_NORMAL,
	expimage:res_start02.exp,
	run: function(){
		gg.runNext = startRunNext02;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow02);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start02.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_02,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start02
	},{
		expTag:TAG_EXP_02,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run02
	},{
		expTag:TAG_EXP_02,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game02
	},{
		expTag:TAG_EXP_02,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about02
	}]
},
{
	expName: "眼球的结构",
	expTag: TAG_EXP_03,
	expId: 66,
	expTitle:"眼球的结构",
	expPurpose:"了解眼球的结构",
	expPrinciple:"眼球的结构",
	expimage:res_start03.exp,
	expDemo:TAG_TYPE_NORMAL,
	run: function(){
		gg.runNext = startRunNext03;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow03);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start03.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_03,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start03
	},{
		expTag:TAG_EXP_03,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run03
	},{
		expTag:TAG_EXP_03,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game03
	},{
		expTag:TAG_EXP_03,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about03
	}]
},
{
	expName: "动植物细胞的结构",
	expTag: TAG_EXP_04,
	expId: 77,
	expTitle:"动植物细胞的结构",
	expPurpose:"1)  了解动物细胞的结构；\n2)  了解植物细胞的结构；",
	expPrinciple:"1)  了解动物细胞的结构；\n2)  了解植物细胞的结构。",
	expDemo:TAG_TYPE_NORMAL,
	expimage:res_start04.exp,
	run: function(){
		gg.runNext = startRunNext04;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow04);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start04.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_04,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start04
	},{
		expTag:TAG_EXP_04,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run04
	},{
		expTag:TAG_EXP_04,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game04
	},{
		expTag:TAG_EXP_04,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about04
	}]
},
{
	expName: "光的反射",
	expTag: TAG_EXP_05,
	expId: 64,
	expTitle:"光的反射",
	expPurpose:"探究光的反射定律，认识光的反射规律。",
	expPrinciple:"1)  探究规律，理解反射光线、入射光线和法线\n在同一平面内;\n2)  发射光线、入射光线分居法线两侧，反射角\n等于入射角。",
	expDemo:TAG_TYPE_TEST,
	expimage:res_start05.exp,
	run: function(){
		gg.runNext = startRunNext05;
		gg.initExp(this.expId,this.expTitle,this.expDemo, teach_flow05);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start05.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_05,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start05
	},{
		expTag:TAG_EXP_05,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run05
	},{
		expTag:TAG_EXP_05,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game05
	},{
		expTag:TAG_EXP_05,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about05
	}]
},
{

	expName: "人体的消化系统",
	expTag: TAG_EXP_06,
	expId: 33,
	expTitle:"人体的消化系统",
	expPurpose:"了解人体的消化系统",
	expPrinciple:"人体的消化系统",
	expDemo:TAG_TYPE_NORMAL,
	expimage:res_start06.exp,
	run: function(){
		gg.runNext = startRunNext06;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow06);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start06.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_06,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start06
	},{
		expTag:TAG_EXP_06,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run06
	},{
		expTag:TAG_EXP_06,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game06
	},{
		expTag:TAG_EXP_06,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about06
	}]
},
{
	expName: "分子的运动",
	expTag: TAG_EXP_07,
	expId: 34,
	expTitle:"分子的运动",
	expPurpose:"1)  认识扩散现象；\n2)  理解扩散现象产生的实质是组成物质的\n    分子不停地做无规则运动。",
	expPrinciple:"1)  构成物质的分子处于不停的无规则运动；\n2)  气体扩散的快慢与温度密切相关，温度\n    越高，气体扩散得越快。",
	expDemo:TAG_TYPE_NORMAL,
	expimage:res_start07.exp,
	run: function(){
		gg.runNext = startRunNext07;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow07);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start07.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_07,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start07
	},{
		expTag:TAG_EXP_07,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run07
	},{
		expTag:TAG_EXP_07,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game07
	},{
		expTag:TAG_EXP_07,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about07
	}]
},
{
	expName: "乙醚的液化",
	expTag: TAG_EXP_08,
	expId: 30,
	expTitle:"乙醚的液化",
	expPurpose:"通过实验验证压缩体积可以使气体液化。",
	expPrinciple:"1)  实现气体液化有两种手段：\n     ①降低温度  ②压缩体积。\n2)  乙醚的沸点较低，容易气化和液化。",
	expDemo:TAG_TYPE_NORMAL,
	expimage:res_start08.exp,
	run: function(){
		gg.runNext = startRunNext08;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow08);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start08.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_08,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start08
	},{
		expTag:TAG_EXP_08,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run08
	},{
		expTag:TAG_EXP_08,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game08
	},{
		expTag:TAG_EXP_08,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about08
	}]
},
{
	expName: "小车的运动",
	expTag: TAG_EXP_09,
	expId: 58,
	expTitle:"小车的运动",
	expPurpose:"验证猜想:如果小车在水平面上运动时不受\n阻力的作用，那么他将做匀速直线运动。",
	expPrinciple:"水平面越光滑，小车运动时所受的阻力越小，\n运动的距离越远,速度减少得越慢。",
	expDemo:TAG_TYPE_NORMAL,
	expimage:res_start09.exp,
	run: function(){
		gg.runNext = startRunNext09;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow09);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start09.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_09,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start09
	},{
		expTag:TAG_EXP_09,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run09
	},{
		expTag:TAG_EXP_09,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game09
	},{
		expTag:TAG_EXP_09,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about09
	}]
},
{
	expName: "冰箱的工作原理",
	expTag: TAG_EXP_10,
	expId: 83,
	expTitle:"冰箱的工作原理",
	expPurpose:"冰箱的工作原理",
	expPrinciple:"冰箱的工作原理",
	expimage:res_start10.exp,
	expDemo:TAG_TYPE_NORMAL,
	run: function(){
		gg.runNext = startRunNext10;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow10);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start10.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_10,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start10
	},{
		expTag:TAG_EXP_10,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run10
	},{
		expTag:TAG_EXP_03,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game10
	},{
		expTag:TAG_EXP_10,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about10
	}]
},
{
	expName: "平面镜成像",
	expTag: TAG_EXP_11,
	expId: 65,
	expTitle:"平面镜成像",
	expPurpose:"探究平面镜成像规律。",
	expPrinciple:"1)  探究像与实体的大小关系;\n2)  探究像与实体的位置关系。",
	expDemo:TAG_TYPE_TEST,
	expimage:res_start11.exp,
	run: function(){
		gg.runNext = startRunNext11;
		gg.initExp(this.expId,this.expTitle,this.expDemo, teach_flow11);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start11.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_11,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start11
	},{
		expTag:TAG_EXP_11,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run11
	},{
		expTag:TAG_EXP_11,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game11
	},{
		expTag:TAG_EXP_11,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about11
	}]
},
{
	expName: "不同物质的比热",
	expTag: TAG_EXP_12,
	expId: 82,
	expTitle:"不同物质的比热",
	expPurpose:"了解不同物质的比热",
	expPrinciple:"1)  比热：质量相同的不同物质，升高相同的\n     温度，吸收的热量不相同；降低相同的温\n     度，放出的热量也不相同。\n" +
	"2)  不同物质的比热是不同的，水的比热比砂\n     石大。",
	expDemo:TAG_TYPE_NORMAL,
	expimage:res_start12.exp,
	run: function(){
		gg.runNext = startRunNext12;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow12);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start12.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_12,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start12
	},{
		expTag:TAG_EXP_12,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run12
	},{
		expTag:TAG_EXP_12,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game12
	},{
		expTag:TAG_EXP_12,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about12
	}]
},
{
	expName: "液体的扩散",
	expTag: TAG_EXP_13,
	expId: 81,
	expTitle:"液体的扩散",
	expPurpose:"了解影响液体的扩散的因素",
	expPrinciple:"1)  分子处于不停的运动之中。\n" +
	"2)  温度越高，液体扩散得越快。",
	expDemo:TAG_TYPE_TEST,
	expimage:res_start13.exp,
	run: function(){
		gg.runNext = startRunNext13;
		gg.initExp(this.expId, this.expTitle, this.expDemo, teach_flow13);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start13.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_13,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start13
	},{
		expTag:TAG_EXP_13,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run13
	},{
		expTag:TAG_EXP_13,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game13
	},{
		expTag:TAG_EXP_13,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about13
	}]
},
{
	expName: "探究二力平衡条件",
	expTag: TAG_EXP_14,
	expId: 67,
	expTitle:"探究二力平衡条件",
	expPurpose:"探究二力平衡条件。",
	expPrinciple:"二力平衡条件：\n1)  作用于同一物体的两个力大小相等;\n2)  作用于同一物体的两个力方向相反;\n3)  作用于同一物体的两个力在同一直线上。",
	expDemo:TAG_TYPE_TEST,
	expimage:res_start14.exp,
	run: function(){
		gg.runNext = startRunNext14;
		gg.initExp(this.expId,this.expTitle,this.expDemo, teach_flow14);
		ch.gotoStart(this.expTag, this.loadRes[0].res, res_start14.start_p);
	},
	loadRes:[{
		expTag:TAG_EXP_14,
		type:TAG_LOAD_TYPE_START,
		finish:false,
		res:g_resources_start14
	},{
		expTag:TAG_EXP_14,
		type:TAG_LOAD_TYPE_RUN,
		finish:false,
		res:g_resources_run14
	},{
		expTag:TAG_EXP_14,
		type:TAG_LOAD_TYPE_GAME,
		finish:false,
		res:g_resources_game14
	},{
		expTag:TAG_EXP_14,
		type:TAG_LOAD_TYPE_ABOUT,
		finish:false,
		res:g_resources_about14
	}]
}
]
